package com.xg.mapper;

import com.xg.entity.UsedCar;
import com.xg.entity.UsedCarBrand;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author jdh
 * @since 2023-03-30
 */
public interface UsedCarBrandMapper extends BaseMapper<UsedCarBrand> {

    List<UsedCarBrand> queryUsedCarBrandList();

    List<UsedCarBrand> queryUsedCarBrandPageList(@Param("usedCarBrand") UsedCarBrand usedCarBrand);

    /**
     * 汽车品牌根据id查询
     * @param brandId
     * @return
     */
    List<UsedCar> queryUsedCarBrandById(@Param("brandId") Integer brandId);
}
